let express = require('express')
let router = express.Router()

let rootfun = require('./rooter-function')

router.post("/login", rootfun.login)
router.get("/login", (req, res) => {
  res.render('login')
})
router.post("/register", rootfun.register)


module.exports = router